<html>
<head><meta charset="utf-8"><title>hello · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html">hello</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="156618260"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/156618260" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Welcome Bot <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#156618260">(Jan 22 2019 at 16:34)</a>:</h4>
<p>Welcome to <a class="stream" data-stream-id="182449" href="/#narrow/stream/182449-t-compiler.2Fhelp">#t-compiler/help</a>.</p>
<p><strong>Description</strong>: Questions about hacking on the compiler</p>



<a name="156618333"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/156618333" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#156618333">(Jan 22 2019 at 16:35)</a>:</h4>
<p><span class="emoji emoji-1f44f" title="clap">:clap:</span> <span class="emoji emoji-1f44f" title="clap">:clap:</span> <span class="emoji emoji-1f44f" title="clap">:clap:</span></p>



<a name="156618785"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/156618785" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#156618785">(Jan 22 2019 at 16:41)</a>:</h4>
<p>me, trolling: "what is a compiler?"</p>



<a name="156626427"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/156626427" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#156626427">(Jan 22 2019 at 18:22)</a>:</h4>
<p>however is /help different from bare stream?</p>



<a name="156626526"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/156626526" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#156626526">(Jan 22 2019 at 18:23)</a>:</h4>
<p>The <code>/help</code> is just part of the stream name</p>



<a name="156626571"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/156626571" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#156626571">(Jan 22 2019 at 18:24)</a>:</h4>
<p>They are otherwise independent</p>



<a name="156627485"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/156627485" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#156627485">(Jan 22 2019 at 18:34)</a>:</h4>
<p>What I meant to ask is what prompted creation of this stream at all</p>



<a name="156636296"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/156636296" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#156636296">(Jan 22 2019 at 20:24)</a>:</h4>
<p>in the <a href="https://internals.rust-lang.org/t/compiler-steering-meeting/8588/31?u=nikomatsakis" target="_blank" title="https://internals.rust-lang.org/t/compiler-steering-meeting/8588/31?u=nikomatsakis">steering meeting on 2018.12.14</a>, we decided that this name would help newcomers feel welcome to ask questions</p>



<a name="156636330"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/156636330" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#156636330">(Jan 22 2019 at 20:25)</a>:</h4>
<p>e.g., in and around <a href="#narrow/stream/131828-t-compiler/subject/steering.20meeting.202018-12-14/near/151782693" title="#narrow/stream/131828-t-compiler/subject/steering.20meeting.202018-12-14/near/151782693">this comment</a> =)</p>



<a name="158646164"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158646164" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> maksimsco <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158646164">(Feb 15 2019 at 20:21)</a>:</h4>
<p>Hello<br>
How can I get <code>DefId</code> of a function from <code>std</code> in MIR? Is it appropriate to ask questions like that here?</p>



<a name="158646448"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158646448" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158646448">(Feb 15 2019 at 20:25)</a>:</h4>
<p><span class="user-mention" data-user-id="202336">@maksimsco</span> This is a good (and appropriate to ask here) question. If the function is a lang item (has a <code>#[lang=foo]</code> attribute), then you can go through <code>tcx.lang_items()</code>, if not, then there's currently no sensible way. What are you trying to achieve?</p>



<a name="158646540"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158646540" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158646540">(Feb 15 2019 at 20:26)</a>:</h4>
<p>There's currently an open PR which may add a way to get arbitrary functions from the libstd for diagnostic purposes: <a href="https://github.com/rust-lang/rust/pull/58070#issuecomment-462125065" target="_blank" title="https://github.com/rust-lang/rust/pull/58070#issuecomment-462125065">https://github.com/rust-lang/rust/pull/58070#issuecomment-462125065</a></p>



<a name="158646551"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158646551" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158646551">(Feb 15 2019 at 20:26)</a>:</h4>
<p>nondiagnostic purposes need  to make the relevant item a lang item</p>



<a name="158647469"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158647469" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> maksimsco <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158647469">(Feb 15 2019 at 20:40)</a>:</h4>
<p>@oli Wow, thanks. This is very helpful</p>



<a name="158697449"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158697449" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> maksimsco <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158697449">(Feb 16 2019 at 14:24)</a>:</h4>
<p>Can someone exaplain a concept in MIR? <br>
I can't understand what <code>rustc::mir::interpret::Scalar</code> is and why it works with <code>Scalar { size: 0, bits: 0 }</code> when constructing <code>tcx.mk_lazy_const</code> to a function?</p>



<a name="158704452"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158704452" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158704452">(Feb 16 2019 at 17:24)</a>:</h4>
<p><span class="user-mention" data-user-id="202336">@maksimsco</span> a function (not a function pointer) is zero sized. So just like <code>()</code> it doesn't actually have any data. So, the <code>size</code> field is 0, because the number of valid bits in the <code>bits</code> field is zero. You are not allowed to read any of the bits.</p>



<a name="158704460"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158704460" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158704460">(Feb 16 2019 at 17:24)</a>:</h4>
<p>In order to represent such a value in the MIR, we construct a zero sized constant</p>



<a name="158704471"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158704471" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158704471">(Feb 16 2019 at 17:25)</a>:</h4>
<p>similar to how constructing a <code>true</code> literal would give you <code>Scalar { size: 1, bits: 1 }</code> and a <code>false</code> literal would give you <code>Scalar { size: 1, bits: 0 }</code></p>



<a name="158705338"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158705338" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> maksimsco <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158705338">(Feb 16 2019 at 17:50)</a>:</h4>
<p><span class="user-mention" data-user-id="124288">@oli</span> Thank you, very good explanation, got it!</p>



<a name="158792806"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158792806" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alexey Melnikov <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158792806">(Feb 18 2019 at 11:24)</a>:</h4>
<p>Is it possible to use miri as standalone interpreter for independent *.rs files? So, could I run <code>miri hello.rs</code> ?</p>



<a name="158793009"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158793009" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alexey Melnikov <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158793009">(Feb 18 2019 at 11:28)</a>:</h4>
<p>The miri's Github page has a text <code>An experimental interpreter for Rust's mid-level intermediate representation (MIR). It can run binaries</code>.  Can miri run binaries?</p>



<a name="158794661"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158794661" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158794661">(Feb 18 2019 at 12:03)</a>:</h4>
<p>Yes, that should in fact work out of the box. If it does not, please open an issue</p>



<a name="158795778"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158795778" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alexey Melnikov <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158795778">(Feb 18 2019 at 12:25)</a>:</h4>
<p><code>miri simple.rs</code></p>
<div class="codehilite"><pre><span></span>warning: unused variable: `y`
 --&gt; simple.rs:3:9
  |
3 |     let y = 3*x + 3;
  |         ^ help: consider prefixing with an underscore: `_y`
  |
  = note: #[warn(unused_variables)] on by default

error[E0080]: constant evaluation error: no mir for `std::rt::lang_start_internal`
   |
   = note: inside call to `std::rt::lang_start::&lt;()&gt;`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0080`.
</pre></div>



<a name="158796088"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158796088" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alexey Melnikov <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158796088">(Feb 18 2019 at 12:30)</a>:</h4>
<p>I didn't <code>cargo +nightly miri setup</code>. Should I do this command? What does it mean?</p>



<a name="158796264"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158796264" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158796264">(Feb 18 2019 at 12:33)</a>:</h4>
<p>Yes, you need to do the setup and follow the instructions</p>



<a name="158796315"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158796315" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158796315">(Feb 18 2019 at 12:34)</a>:</h4>
<p>The setup compiles <code>libstd</code> with MIR for every single function in the <code>libstd</code></p>



<a name="158796329"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158796329" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158796329">(Feb 18 2019 at 12:35)</a>:</h4>
<p>Normally <code>libstd</code> only contains the MIR for functions which are not fully translated to llvm (e.g. generic functions or <code>#[inline]</code> functions)</p>



<a name="158796562"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158796562" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alexey Melnikov <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158796562">(Feb 18 2019 at 12:39)</a>:</h4>
<p>After <code>cargo +nightly miri setup</code> there's the same error.</p>



<a name="158800359"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158800359" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alexey Melnikov <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158800359">(Feb 18 2019 at 13:38)</a>:</h4>
<p>From docs: <code>miri const evaluator</code>. What does it means <code>const</code>? It means that miri evaluate constant (fixed) mir code? Or something else?</p>



<a name="158807516"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158807516" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158807516">(Feb 18 2019 at 15:28)</a>:</h4>
<p>hm, sounds like outdated docs ;)</p>



<a name="158807520"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158807520" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158807520">(Feb 18 2019 at 15:28)</a>:</h4>
<p>is that in the miri-repo?</p>



<a name="158807526"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158807526" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158807526">(Feb 18 2019 at 15:28)</a>:</h4>
<p>or in the rustc docs?</p>



<a name="158814886"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158814886" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alexey Melnikov <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158814886">(Feb 18 2019 at 17:14)</a>:</h4>
<p><code>An experimental interpreter for Rust's mid-level intermediate representation (MIR). It can run binaries</code> Can miri run binaries? ||| Source: <a href="https://github.com/rust-lang/miri/blob/master/README.md" target="_blank" title="https://github.com/rust-lang/miri/blob/master/README.md">https://github.com/rust-lang/miri/blob/master/README.md</a>  , see the first line.</p>



<a name="158815262"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158815262" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alexey Melnikov <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158815262">(Feb 18 2019 at 17:19)</a>:</h4>
<p>Source: <a href="https://rust-lang.github.io/rustc-guide/miri.html" target="_blank" title="https://rust-lang.github.io/rustc-guide/miri.html">https://rust-lang.github.io/rustc-guide/miri.html</a>, please see 26.1 <code>miri const evaluator</code>.  What does it means <code>const</code>? It means that miri evaluate constant (fixed) mir code? Or something else?</p>



<a name="158822453"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158822453" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158822453">(Feb 18 2019 at 19:16)</a>:</h4>
<p>ah indeed, that is a misnomer. it's a <code>miri-engine based const evalutor</code></p>



<a name="158822456"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158822456" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158822456">(Feb 18 2019 at 19:16)</a>:</h4>
<p>not to be confused with <code>miri</code> the tool</p>



<a name="158838379"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158838379" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158838379">(Feb 19 2019 at 00:09)</a>:</h4>
<p>Although it's a good idea to start a new Zulip topic for each new... topic...</p>



<a name="158857313"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/158857313" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#158857313">(Feb 19 2019 at 08:22)</a>:</h4>
<p>If zulip had the ability to mark topics as resolved, that would be much clearer I think</p>



<a name="168440702"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/168440702" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Thomas Mulvaney <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#168440702">(Jun 18 2019 at 18:15)</a>:</h4>
<p>Hi, I've been trying to understand the rust compiler and have noticed a function name which is a bit strange in the <code>hir/map</code> namespace: <code>maybe_body_owned_by_by_hir_id</code>. I suspect the <code>_by_by_</code> is a typo..?</p>
<p>I could submit a PR but I'm not sure what the etiquette on fixing minor typos such as this is? Open an issue first?</p>



<a name="168442274"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/168442274" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#168442274">(Jun 18 2019 at 18:32)</a>:</h4>
<p>PRs fixing minor typos are generally well received even without an issue. If fixing the typo requires changing a lot of code, it will be harder to land your PR though.</p>



<a name="168443250"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/168443250" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Thomas Mulvaney <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#168443250">(Jun 18 2019 at 18:42)</a>:</h4>
<p><span class="user-mention" data-user-id="125250">@Wesley Wiser</span> thanks for the info! I'll open a PR then.</p>



<a name="168456073"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/hello/near/168456073" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/hello.html#168456073">(Jun 18 2019 at 21:15)</a>:</h4>
<p>I think this has already been fixed in a PR</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>